package com.huike.clues.mapper;

import com.huike.clues.domain.TbAssignRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author 93238
 * @description 针对表【tb_assign_record(分配记录表)】的数据库操作Mapper
 * @createDate 2023-10-12 06:35:46
 * @Entity com.huike.clues.domain.TbAssignRecord
 */
public interface TbAssignRecordMapper extends BaseMapper<TbAssignRecord> {

    /**
     * 将该线索的least字段设置为0
     *
     * @param ids 线索id集合
     */
    void updateLeastByIds(List<Long> ids);

    /**
     * 批量插入
     */
    void insertRecords(List<TbAssignRecord> list);

    void updateTbAssignRecordByAssignId(Long id);
}




